package com.handpay.nocardpay.baselibrary.lottery.model.bean;


import android.os.Parcel;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;

public class LotteryStatus extends BaseResponseBean {
    /***
     *  0开关关闭；
     *  1开关打开；
     */
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeInt(this.status);
    }

    public LotteryStatus() {
    }

    protected LotteryStatus(Parcel in) {
        super(in);
        this.status = in.readInt();
    }

    public static final Creator<LotteryStatus> CREATOR = new Creator<LotteryStatus>() {
        @Override
        public LotteryStatus createFromParcel(Parcel source) {
            return new LotteryStatus(source);
        }

        @Override
        public LotteryStatus[] newArray(int size) {
            return new LotteryStatus[size];
        }
    };

    @Override
    public String toString() {
        return "LotteryStatus{" +
                "status=" + status +
                '}';
    }
}
